package com.szcinda.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ClientVehiclePriceRepository extends JpaRepository<ClientVehiclePrice, String>, JpaSpecificationExecutor<ClientVehiclePrice> {
    List<ClientVehiclePrice> findByBelongId(String belongId);

    void deleteByBelongId(String belongId);

    List<ClientVehiclePrice> findByBelongIdIn(List<String> ids);
}
